﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DB.DBUtility;

namespace DB.DAL
{
    public partial class TPlanAxle
    {
        public bool  Delete(string strWhere)
        {
            StringBuilder strSql = new StringBuilder();
            strSql.Append("delete from TPlanAxle ");
            if (strWhere.Trim() != "")
            {
                strSql.Append(" where " + strWhere);
            }
            int rows = DbHelperMySQL.ExecuteSql(strSql.ToString());
            if (rows > 0)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
    }
}
